@charset "utf-8";
/* CSS Document */
html {
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-image: url( "IMG/Screenshot 2025-07-08 233438.png"); /* <-- gambar kau */
  background-size: cover;
  background-position: center;
  background-repeat: repeat;
  background-attachment: fixed;
	font-family:   "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, "sans-serif";}

/* Header Navigation */
header {
  background-color: transparent;
  padding: 25px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-container {
  background-color: #fff;
  width: 100%;                /* Full width dari kiri ke kanan */
  display: flex;
  justify-content: space-between;margin-top: -28px;
  align-items: center;
  padding: 0px 30px;         /* Adjust ruang kiri-kanan ikut suka */
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 90px; padding-left: 190px;
}

.logo span {
  font-weight: bold;
  color: #a1247c;
  font-size: 24px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 45px; padding-right: 90px;
}

nav a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  position: relative;
}
nav a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  position: relative;
  transition: all 0.3s ease; /* Add smooth transition */
}

nav a:hover {
  transform: translateY(-3px) scale(1.05);
  color: #a1247c; /* Optional: change color on hover too */
}
nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 3px;
  background-color: #a1247c;
  border-radius: 2px;
  transform: scaleX(1);
}
/* BOOK SECTION */
.book-section {
  padding: 100px 60px;
  min-height: 100vh;
}

.book-title {
  text-align: center;
  margin-top: -30px; /* lebih kecil dari sebelumnya */
  margin-bottom: 20px;
}
.book-title h1 {
  font-size: 32px;
  margin-bottom: 10px;
}
.book-title h3 {
  font-size: 20px;
  margin-top: 0;
}

.book-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 60px;
}

.book-left img {
  width: 240px;
  height: auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);margin-top: 30px;
}

.book-right p {
  max-width: 500px;
  font-size: 15px;
  line-height: 1.7;
  color: #111;
  text-align: justify;
  transition: transform 0.3s ease, color 0.3s ease;
  display: inline-block;  margin-top: 40px;
}
.book-right:hover {
  transform: translateY(-5px);
  color: #a1247c; /* optional: warna lain bila hover */
}
/* REVIEW SECTION */
.review-section {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeIn 1.5s ease-out forwards;
}

.review-text {
  max-width: 480px;
}

.review-section {
  margin-top: 60px; /* tambah jarak antara review-section dan elemen atasnya */
}

.review-text h2 {
  font-size: 26px;
  margin-bottom: 10px; /* ganti nilai negatif jadi positif untuk ruang sehat */
}

.review-text p {
  font-size: 16px;
  line-height: 1.6;
  text-align: justify;
}
.review-section img {
  width: 220px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);margin-top: 50px;
}

/* BACK BUTTON */
.back-btn-container {
  text-align: center;
  margin-top: 50px;
}

.back-btn {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  background-color: #a1247c;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.back-btn:hover {
  background-color: #841964;
}

/* ANIMATION */
@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

